@charset "UTF-8";

*{
    margin: 0px;
    padding: 0px;
    /**字体粗细和字体样式*/
    font-width: 400;
    font-family: "microsoft yahei";
}

.box{
    width: 100%;
    height: 100%;
    /**弹性盒子布局*/
    display: flex;
    /**方向布局，横着row，竖着column，column-reverse反转*/
    flex-direction: column;
}

.head{
    width: 100%;
    height: 100px;
    background: black;
    display: flex;
    /**横向居中*/
    justify-content: center;
    /**垂直居中*/
    align-items: center;
}

.head p{
    color: white;
    font-weight: 500;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner img{
    width: 100%;
    height: 350px;
}

/**四个导航栏*/
.nav{
    display: flex;
    /**space-around横向等宽布局，space-between两端无间隙，其他仍然等宽。*/
    justify-content: space-around;
    align-items: center;
}

.nav p{
    font-size: 30px;
    color: black;
}

#active{
    color: dodgerblue;
}

.view{
    width: 100%;
    margin-left: 20px;
    margin-top: 20px;
    align-items: center;
}

.view p{
    font-size: 25px;
    color: black;
}

.view div{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.view a{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /**使用外边距，指定上下大小*/
    margin: 50px;
    /**使用内边距，指定边框的宽度*/
    padding: 20px;
    border: 1px solid black;
}